package cn.wolfcode.service;

import cn.wolfcode.domain.Work;
import cn.wolfcode.query.QueryObject;
import cn.wolfcode.query.WorkQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IWorkService {

    PageInfo findAll(WorkQueryObject queryObject);

    void deleteById(Long id);

    void saveOrUpdate(Work Work);

    Work findById(Long id);

    List<Work> listAll();
}
